<?php

class Application_Form_SearchForm extends Zend_Form
{

    public function init()
    {
        $this->setMethod('post');

        $this->addElement('text', 'query', array(
            'label'      => 'Iskalnik',
            'required'   => true,
            'class'      => 'form-control',
            'id'         => 'query'
        ));

        $this->addElement('submit', 'submit', array(
            'label'    => 'Išči',
            'class'      => 'form-control'
        ));


        $this->setAttrib('class', 'form-group');
    }


}

